newBuilder

open fun newBuilder(number: String, expMonth: Int, expYear: Int): CreditCard.Builder

Creates a new CreditCard builder with the given required parameters.

Return

a new CreditCart.Builder instance

Since

8.0.0

Parameters

number

the card number

expMonth

the expiration month

expYear

the expiration year in 4-digit format